@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: rgba(155, 89, 182, 0.7);
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.phone{
  width: 340px;
  height: 600px;
  position: relative;
  background-color: #fff;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
  border: 3px solid #eee;
  overflow: hidden;
}

.content{
  width: 100%;
  height: calc(100% - 60px);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  object-fit: cover;
  transition: all .5s linear;
  -webkit-transition: all .5s linear;
  -moz-transition: all .5s linear;
  -ms-transition: all .5s linear;
  -o-transition: all .5s linear;
}
.content.show{
  opacity: 1;
}

nav{
  background-color: #fff;
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  padding: 0;
  height: 60px;
}
nav ul{
  height: 60px;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin: 0;
  padding: 0;
}
nav ul li{
  flex: 1;
  padding: 10px;
  color: #777;
  text-align: center;
  cursor: pointer;
  transition: all .5s  linear;
  -webkit-transition: all .5s  linear;
  -moz-transition: all .5s  linear;
  -ms-transition: all .5s  linear;
  -o-transition: all .5s  linear;
}
nav ul li:hover{
  color: #8e44ad;

}
nav ul li.active{
  color: #8e44ad;
}
nav ul li p{
  font-size: 12px;
  margin: 2px 0;
}